import service from '@/utils/server.js'

export const getUsers = (params) => {
  return service({
    url: '/getUser',
    method: 'get',
    params
  })
}

export const userLogin = (data) => {
  return service({
    url: '/userLogin',
    method: 'post',
    data
  })
}

export const getRouter = (params) => {
  return service({
    url: '/getRouter',
    method: 'get',
    params
  })
}
